
#include<stdio.h>

int main()
{
  int i, j, total, n;
  printf("Input n(1<n<=5):\n");
  n = 5;
    i = 1;
    while (1)
    {
      total = i;
      for (j = 0; j < n; j++)
      {
        total = total * 5;
        if (total % 4 != 0)
        {
          break;
        }
        total = total / 4;
        total += 1;
      }
      if (j == n)
      {
        break;
      }
      i++;
    }
    printf("y=%d\n", total);
  return 0;
}